RMR-Efficient Randomized Abortable Mutual Exclusion
نویسندگان
چکیده
Recent research on mutual exclusion for shared-memory systems has focused on local spinalgorithms. Performance is measured using the remote memory references (RMRs) metric. Ascommon in recent literature, we consider a standard asynchronous shared memory model withN processes, which allows atomic read, write and compare-and-swap (short: CAS) operations.In such a model, the asymptotically tight upper and lower bounds on the number of RMRsper passage through the Critical Section is Θ(logN) for the optimal deterministic algorithms [27,7]. Recently, several randomized algorithms have been devised that break the Ω(logN) barrierand need only o(logN) RMRs per passage in expectation [16, 17, 8]. In this paper we present thefirst randomized abortable mutual exclusion algorithm that achieves a sub-logarithmic expectedRMR complexity. More precisely, against a weak adversary (which can make scheduling decisionsbased on the entire past history, but not the latest coin-flips of each process) every process needsan expected number of O(logN/ log logN) RMRs to enter end exit the critical section. If aprocess receives an abort-signal, it can abort an attempt to enter the critical section within afinite number of its own steps and by incurring O(logN/ log logN) RMRs.
منابع مشابه
Abortable Reader-Writer Locks Are No More Complex Than Abortable Mutex Locks
When a process attempts to acquire a mutex lock, it may be forced to wait if another process currently holds the lock. In certain applications, such as real-time operating systems and databases, indefinite waiting can cause a process to miss an important deadline [20]. Hence, there has been research on designing abortable mutual exclusion locks, and fairly efficient algorithms of O(log n) RMR c...
متن کاملLocal-spin Algorithms for Variants of Mutual Exclusion Using Read and Write Operations
LOCAL-SPIN ALGORITHMS FOR VARIANTS OF MUTUAL EXCLUSION USING READ AND WRITE OPERATIONS Robert Danek Doctor of Philosophy Graduate Department of Computer Science University of Toronto 2011 Mutual exclusion (ME) is used to coordinate access to shared resources by concurrent processes. We investigate several new N -process shared-memory algorithms for variants of ME, each of which uses only reads ...
متن کاملBrief Announcement: Local-Spin Algorithms for Abortable Mutual Exclusion and Related Problems
Introduction. A mutual exclusion (ME) algorithm consists of a trying protocol (TP) and exit protocol (EP) that surround a critical section (CS) and satisfy the following properties: mutual exclusion: at most one process is allowed to use the CS at a given time; lockout freedom: any process that enters the TP eventually enters the CS; and bounded exit: a process can complete the EP in a bounded ...
متن کاملEfficient Mutual Exclusion Algorithm for High System Congestion
We propose an efficient mutual exclusion algorithm with respect to remote memory reference(RMR) complexity that measures remote accesses to shared memory. The worst-case RMR complexity for one access to a critical section with N processes has been proven to be θ(logN). Though our algorithm has the same worst case RMR complexity, the algorithm becomes efficient with increasing the number of proc...
متن کاملAn Improved k-Exclusion Algorithm
k-Exclusion is a generalization of Mutual Exclusion that allows up to k processes to be in the critical section concurrently. Starvation Freedom and First-In-First-Enabled (FIFE) are two desirable progress and fairness properties of k-Exclusion algorithms. We present the first known bounded-space k-Exclusion algorithm that uses only atomic reads and writes, satisfies Starvation Freedom, and has...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/1208.1723 شماره
صفحات -
تاریخ انتشار 2012